package com.quanyan.club.entity.db;

import com.quanyan.common.utils.Limit;
import java.util.ArrayList;
import java.util.List;

public class StationMasterExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = 0;

    protected int limitEnd = 0;

    protected Limit limit;

    public StationMasterExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(int limitEnd) {
        this.limitEnd=limitEnd;
    }

    public int getLimitEnd() {
        return limitEnd;
    }

    public void setLimit(Limit limit) {
        this.limit=limit;
    }

    public Limit getLimit() {
        return limit;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andMobileIsNull() {
            addCriterion("mobile is null");
            return (Criteria) this;
        }

        public Criteria andMobileIsNotNull() {
            addCriterion("mobile is not null");
            return (Criteria) this;
        }

        public Criteria andMobileEqualTo(String value) {
            addCriterion("mobile =", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotEqualTo(String value) {
            addCriterion("mobile <>", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThan(String value) {
            addCriterion("mobile >", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThanOrEqualTo(String value) {
            addCriterion("mobile >=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThan(String value) {
            addCriterion("mobile <", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThanOrEqualTo(String value) {
            addCriterion("mobile <=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLike(String value) {
            addCriterion("mobile like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotLike(String value) {
            addCriterion("mobile not like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileIn(List<String> values) {
            addCriterion("mobile in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotIn(List<String> values) {
            addCriterion("mobile not in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileBetween(String value1, String value2) {
            addCriterion("mobile between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotBetween(String value1, String value2) {
            addCriterion("mobile not between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andNickIsNull() {
            addCriterion("nick is null");
            return (Criteria) this;
        }

        public Criteria andNickIsNotNull() {
            addCriterion("nick is not null");
            return (Criteria) this;
        }

        public Criteria andNickEqualTo(String value) {
            addCriterion("nick =", value, "nick");
            return (Criteria) this;
        }

        public Criteria andNickNotEqualTo(String value) {
            addCriterion("nick <>", value, "nick");
            return (Criteria) this;
        }

        public Criteria andNickGreaterThan(String value) {
            addCriterion("nick >", value, "nick");
            return (Criteria) this;
        }

        public Criteria andNickGreaterThanOrEqualTo(String value) {
            addCriterion("nick >=", value, "nick");
            return (Criteria) this;
        }

        public Criteria andNickLessThan(String value) {
            addCriterion("nick <", value, "nick");
            return (Criteria) this;
        }

        public Criteria andNickLessThanOrEqualTo(String value) {
            addCriterion("nick <=", value, "nick");
            return (Criteria) this;
        }

        public Criteria andNickLike(String value) {
            addCriterion("nick like", value, "nick");
            return (Criteria) this;
        }

        public Criteria andNickNotLike(String value) {
            addCriterion("nick not like", value, "nick");
            return (Criteria) this;
        }

        public Criteria andNickIn(List<String> values) {
            addCriterion("nick in", values, "nick");
            return (Criteria) this;
        }

        public Criteria andNickNotIn(List<String> values) {
            addCriterion("nick not in", values, "nick");
            return (Criteria) this;
        }

        public Criteria andNickBetween(String value1, String value2) {
            addCriterion("nick between", value1, value2, "nick");
            return (Criteria) this;
        }

        public Criteria andNickNotBetween(String value1, String value2) {
            addCriterion("nick not between", value1, value2, "nick");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andIconIsNull() {
            addCriterion("icon is null");
            return (Criteria) this;
        }

        public Criteria andIconIsNotNull() {
            addCriterion("icon is not null");
            return (Criteria) this;
        }

        public Criteria andIconEqualTo(String value) {
            addCriterion("icon =", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotEqualTo(String value) {
            addCriterion("icon <>", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconGreaterThan(String value) {
            addCriterion("icon >", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconGreaterThanOrEqualTo(String value) {
            addCriterion("icon >=", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconLessThan(String value) {
            addCriterion("icon <", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconLessThanOrEqualTo(String value) {
            addCriterion("icon <=", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconLike(String value) {
            addCriterion("icon like", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotLike(String value) {
            addCriterion("icon not like", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconIn(List<String> values) {
            addCriterion("icon in", values, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotIn(List<String> values) {
            addCriterion("icon not in", values, "icon");
            return (Criteria) this;
        }

        public Criteria andIconBetween(String value1, String value2) {
            addCriterion("icon between", value1, value2, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotBetween(String value1, String value2) {
            addCriterion("icon not between", value1, value2, "icon");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andBackgroundImgIsNull() {
            addCriterion("background_img is null");
            return (Criteria) this;
        }

        public Criteria andBackgroundImgIsNotNull() {
            addCriterion("background_img is not null");
            return (Criteria) this;
        }

        public Criteria andBackgroundImgEqualTo(String value) {
            addCriterion("background_img =", value, "backgroundImg");
            return (Criteria) this;
        }

        public Criteria andBackgroundImgNotEqualTo(String value) {
            addCriterion("background_img <>", value, "backgroundImg");
            return (Criteria) this;
        }

        public Criteria andBackgroundImgGreaterThan(String value) {
            addCriterion("background_img >", value, "backgroundImg");
            return (Criteria) this;
        }

        public Criteria andBackgroundImgGreaterThanOrEqualTo(String value) {
            addCriterion("background_img >=", value, "backgroundImg");
            return (Criteria) this;
        }

        public Criteria andBackgroundImgLessThan(String value) {
            addCriterion("background_img <", value, "backgroundImg");
            return (Criteria) this;
        }

        public Criteria andBackgroundImgLessThanOrEqualTo(String value) {
            addCriterion("background_img <=", value, "backgroundImg");
            return (Criteria) this;
        }

        public Criteria andBackgroundImgLike(String value) {
            addCriterion("background_img like", value, "backgroundImg");
            return (Criteria) this;
        }

        public Criteria andBackgroundImgNotLike(String value) {
            addCriterion("background_img not like", value, "backgroundImg");
            return (Criteria) this;
        }

        public Criteria andBackgroundImgIn(List<String> values) {
            addCriterion("background_img in", values, "backgroundImg");
            return (Criteria) this;
        }

        public Criteria andBackgroundImgNotIn(List<String> values) {
            addCriterion("background_img not in", values, "backgroundImg");
            return (Criteria) this;
        }

        public Criteria andBackgroundImgBetween(String value1, String value2) {
            addCriterion("background_img between", value1, value2, "backgroundImg");
            return (Criteria) this;
        }

        public Criteria andBackgroundImgNotBetween(String value1, String value2) {
            addCriterion("background_img not between", value1, value2, "backgroundImg");
            return (Criteria) this;
        }

        public Criteria andIsFrozenIsNull() {
            addCriterion("is_frozen is null");
            return (Criteria) this;
        }

        public Criteria andIsFrozenIsNotNull() {
            addCriterion("is_frozen is not null");
            return (Criteria) this;
        }

        public Criteria andIsFrozenEqualTo(Integer value) {
            addCriterion("is_frozen =", value, "isFrozen");
            return (Criteria) this;
        }

        public Criteria andIsFrozenNotEqualTo(Integer value) {
            addCriterion("is_frozen <>", value, "isFrozen");
            return (Criteria) this;
        }

        public Criteria andIsFrozenGreaterThan(Integer value) {
            addCriterion("is_frozen >", value, "isFrozen");
            return (Criteria) this;
        }

        public Criteria andIsFrozenGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_frozen >=", value, "isFrozen");
            return (Criteria) this;
        }

        public Criteria andIsFrozenLessThan(Integer value) {
            addCriterion("is_frozen <", value, "isFrozen");
            return (Criteria) this;
        }

        public Criteria andIsFrozenLessThanOrEqualTo(Integer value) {
            addCriterion("is_frozen <=", value, "isFrozen");
            return (Criteria) this;
        }

        public Criteria andIsFrozenIn(List<Integer> values) {
            addCriterion("is_frozen in", values, "isFrozen");
            return (Criteria) this;
        }

        public Criteria andIsFrozenNotIn(List<Integer> values) {
            addCriterion("is_frozen not in", values, "isFrozen");
            return (Criteria) this;
        }

        public Criteria andIsFrozenBetween(Integer value1, Integer value2) {
            addCriterion("is_frozen between", value1, value2, "isFrozen");
            return (Criteria) this;
        }

        public Criteria andIsFrozenNotBetween(Integer value1, Integer value2) {
            addCriterion("is_frozen not between", value1, value2, "isFrozen");
            return (Criteria) this;
        }

        public Criteria andCityIdsIsNull() {
            addCriterion("city_ids is null");
            return (Criteria) this;
        }

        public Criteria andCityIdsIsNotNull() {
            addCriterion("city_ids is not null");
            return (Criteria) this;
        }

        public Criteria andCityIdsEqualTo(String value) {
            addCriterion("city_ids =", value, "cityIds");
            return (Criteria) this;
        }

        public Criteria andCityIdsNotEqualTo(String value) {
            addCriterion("city_ids <>", value, "cityIds");
            return (Criteria) this;
        }

        public Criteria andCityIdsGreaterThan(String value) {
            addCriterion("city_ids >", value, "cityIds");
            return (Criteria) this;
        }

        public Criteria andCityIdsGreaterThanOrEqualTo(String value) {
            addCriterion("city_ids >=", value, "cityIds");
            return (Criteria) this;
        }

        public Criteria andCityIdsLessThan(String value) {
            addCriterion("city_ids <", value, "cityIds");
            return (Criteria) this;
        }

        public Criteria andCityIdsLessThanOrEqualTo(String value) {
            addCriterion("city_ids <=", value, "cityIds");
            return (Criteria) this;
        }

        public Criteria andCityIdsLike(String value) {
            addCriterion("city_ids like", value, "cityIds");
            return (Criteria) this;
        }

        public Criteria andCityIdsNotLike(String value) {
            addCriterion("city_ids not like", value, "cityIds");
            return (Criteria) this;
        }

        public Criteria andCityIdsIn(List<String> values) {
            addCriterion("city_ids in", values, "cityIds");
            return (Criteria) this;
        }

        public Criteria andCityIdsNotIn(List<String> values) {
            addCriterion("city_ids not in", values, "cityIds");
            return (Criteria) this;
        }

        public Criteria andCityIdsBetween(String value1, String value2) {
            addCriterion("city_ids between", value1, value2, "cityIds");
            return (Criteria) this;
        }

        public Criteria andCityIdsNotBetween(String value1, String value2) {
            addCriterion("city_ids not between", value1, value2, "cityIds");
            return (Criteria) this;
        }

        public Criteria andCagetoryIdsIsNull() {
            addCriterion("cagetory_ids is null");
            return (Criteria) this;
        }

        public Criteria andCagetoryIdsIsNotNull() {
            addCriterion("cagetory_ids is not null");
            return (Criteria) this;
        }

        public Criteria andCagetoryIdsEqualTo(String value) {
            addCriterion("cagetory_ids =", value, "cagetoryIds");
            return (Criteria) this;
        }

        public Criteria andCagetoryIdsNotEqualTo(String value) {
            addCriterion("cagetory_ids <>", value, "cagetoryIds");
            return (Criteria) this;
        }

        public Criteria andCagetoryIdsGreaterThan(String value) {
            addCriterion("cagetory_ids >", value, "cagetoryIds");
            return (Criteria) this;
        }

        public Criteria andCagetoryIdsGreaterThanOrEqualTo(String value) {
            addCriterion("cagetory_ids >=", value, "cagetoryIds");
            return (Criteria) this;
        }

        public Criteria andCagetoryIdsLessThan(String value) {
            addCriterion("cagetory_ids <", value, "cagetoryIds");
            return (Criteria) this;
        }

        public Criteria andCagetoryIdsLessThanOrEqualTo(String value) {
            addCriterion("cagetory_ids <=", value, "cagetoryIds");
            return (Criteria) this;
        }

        public Criteria andCagetoryIdsLike(String value) {
            addCriterion("cagetory_ids like", value, "cagetoryIds");
            return (Criteria) this;
        }

        public Criteria andCagetoryIdsNotLike(String value) {
            addCriterion("cagetory_ids not like", value, "cagetoryIds");
            return (Criteria) this;
        }

        public Criteria andCagetoryIdsIn(List<String> values) {
            addCriterion("cagetory_ids in", values, "cagetoryIds");
            return (Criteria) this;
        }

        public Criteria andCagetoryIdsNotIn(List<String> values) {
            addCriterion("cagetory_ids not in", values, "cagetoryIds");
            return (Criteria) this;
        }

        public Criteria andCagetoryIdsBetween(String value1, String value2) {
            addCriterion("cagetory_ids between", value1, value2, "cagetoryIds");
            return (Criteria) this;
        }

        public Criteria andCagetoryIdsNotBetween(String value1, String value2) {
            addCriterion("cagetory_ids not between", value1, value2, "cagetoryIds");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}